//
//  CMSegmentControl.h
//  CraneMachine
//
//  Created by ice on 2017/10/31.
//  Copyright © 2017年 ICE. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CMSegmentControl : UIControl

- (id)initWithFrame:(CGRect)frame
              Items:(NSArray *)items;
/**
 *  下滑条的颜色
 *
 *  @param color 颜色
 */
- (void)setMobileBarColor:(UIColor *)color;

/**
 *  设置字体颜色
 *
 *  @param color 颜色
 *  @param state 状态
 */
- (void)setTitleColor:(UIColor *)color forState:(UIControlState)state;

@end
